package com.qujia.station.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qujia.common.annotation.Excel;
import com.qujia.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;
import java.util.List;

/**
 * (NonOilOrder)实体类
 *
 * @author makejava
 * @since 2023-08-16 17:46:22
 */
public class NonOilOrder implements Serializable {
    private static final long serialVersionUID = -67245907386363754L;
    @ApiModelProperty("非油品订单id")
    private Long nooId;
    /**
     * 订单号
     */
    @Excel(name = "订单号")
    @ApiModelProperty("订单号")
    private String orderCode;
    /**
     * 油站id
     */
    @ApiModelProperty("油站id")
    private Long stationId;
    /**
     * 油站名称
     */
    @Excel(name = "油站名称")
    @ApiModelProperty("油站名称")
    private String stationName;

    /**
     * 商品管理id
     */
    @ApiModelProperty("商品管理id")
    private Long cmId;
    /**
     * 商品名称
     */
    @ApiModelProperty("商品名称")
    @Excel(name = "商品名称")
    private String commodityName;
    /**
     * 商品编号
     */
    @ApiModelProperty("商品编号")
    @Excel(name = "商品编码")
    private String commodityCode;
    /**
     * 分类名称
     */
    @ApiModelProperty("分类名称")
    @Excel(name = "商品分类")
    private String categoryName;
    /**
     * 应付金额
     */
    @ApiModelProperty("应付金额（元）")
    @Excel(name = "应付金额（元）")
    private BigDecimal payableAmount;
    /**
     * 实付金额
     */
    @ApiModelProperty("实付金额（元）")
    @Excel(name = "实付金额（元）")
    private BigDecimal actuallyAmount;
    /**
     * 优惠金额
     */
    @ApiModelProperty("优惠金额（元）")
    @Excel(name = "优惠金额（元）")
    private BigDecimal discountAmount;

    @ApiModelProperty("优惠券金额（元）")
    private BigDecimal discountCouponAmount;

    @ApiModelProperty("优惠券")
    private String discountCoupon;

    /**
     * 客户id
     */
    @ApiModelProperty("客户id")
    private Long customerId;
    /**
     * 客户名称
     */
    @ApiModelProperty("客户名称")
    @Excel(name = "客户名称")
    private String customerName;

    @ApiModelProperty("客户手机号")
    @Excel(name = "客户手机号")
    private String mobilePhone;
    /**
     * 员工id
     */
    @ApiModelProperty("员工id")
    private Long staffId;

    @ApiModelProperty("员工名称")
    @Excel(name = "员工名称")
    private String staffName;
    /**
     * 支付类型
     */
    @ApiModelProperty("支付类型")
    @Excel(name = "支付类型")
    private String payType;
    /**
     * 订单状态
     */
    @ApiModelProperty("订单状态")
    @Excel(name = "订单状态")
    private String status;
    /**
     * 设备id
     */
    @ApiModelProperty("设备id")
    private String deviceId;
    /**
     * 终端号
     */
    @ApiModelProperty("设备号")
    @Excel(name = "设备号")
    private String deviceNo;
    /**
     * 支付时间
     */
    @ApiModelProperty("支付时间")
    @Excel(name = "支付时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date payTime;
    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    @Excel(name = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
     * 开始时间
     */
    @ApiModelProperty("开始时间")
    private String beginTime;
    /**
     * 结束时间
     */
    @ApiModelProperty("结束时间")
    private String endTime;
    /**
     * 零售价格
     */
    @ApiModelProperty("零售价格")
    private BigDecimal retailPrice;
    /**
     * 销售价格
     */
    @ApiModelProperty("销售价格")
    private BigDecimal salePrice;

    @ApiModelProperty("油企id")
    private Long enterpriseId;

    @ApiModelProperty("油企名称")
    private String enterpriseName;

    @ApiModelProperty("是否删除 0：未删除，1：已删除")
    private String isDeleted;

    @ApiModelProperty("交易单号")
    private String transactionId;

    @ApiModelProperty("商户单号")
    private String merchantsNo;

    @ApiModelProperty("清分订单号")
    private String clearNo;

    private Integer pageNum;

    private Integer pageSize;

    @ApiModelProperty("手续费率")
    private BigDecimal serviceCharge;

    @ApiModelProperty("渠道费")
    private BigDecimal commission;

    @ApiModelProperty("渠道手续费支付方 0司机/1油企")
    private String channelFeePayer;

    @ApiModelProperty("商品订单详情列表")
    private List<OrderDetails> orderDetailsList;

    public BigDecimal getRetailPrice() {
        return retailPrice;
    }

    public void setRetailPrice(BigDecimal retailPrice) {
        this.retailPrice = retailPrice;
    }

    public BigDecimal getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(BigDecimal salePrice) {
        this.salePrice = salePrice;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public Long getNooId() {
        return nooId;
    }

    public void setNooId(Long nooId) {
        this.nooId = nooId;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    public Long getCmId() {
        return cmId;
    }

    public void setCmId(Long cmId) {
        this.cmId = cmId;
    }

    public BigDecimal getPayableAmount() {
        return payableAmount;
    }

    public void setPayableAmount(BigDecimal payableAmount) {
        this.payableAmount = payableAmount;
    }

    public BigDecimal getActuallyAmount() {
        return actuallyAmount;
    }

    public void setActuallyAmount(BigDecimal actuallyAmount) {
        this.actuallyAmount = actuallyAmount;
    }

    public BigDecimal getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(BigDecimal discountAmount) {
        this.discountAmount = discountAmount;
    }

    public BigDecimal getDiscountCouponAmount() {
        return discountCouponAmount;
    }

    public void setDiscountCouponAmount(BigDecimal discountCouponAmount) {
        this.discountCouponAmount = discountCouponAmount;
    }

    public String getDiscountCoupon() {
        return discountCoupon;
    }

    public void setDiscountCoupon(String discountCoupon) {
        this.discountCoupon = discountCoupon;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public Long getStaffId() {
        return staffId;
    }

    public void setStaffId(Long staffId) {
        this.staffId = staffId;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public String getCommodityCode() {
        return commodityCode;
    }

    public void setCommodityCode(String commodityCode) {
        this.commodityCode = commodityCode;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String getDeviceNo() {
        return deviceNo;
    }

    public void setDeviceNo(String deviceNo) {
        this.deviceNo = deviceNo;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public Long getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Long enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public String getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(String isDeleted) {
        this.isDeleted = isDeleted;
    }

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    public String getMerchantsNo() {
        return merchantsNo;
    }

    public void setMerchantsNo(String merchantsNo) {
        this.merchantsNo = merchantsNo;
    }

    public String getClearNo() {
        return clearNo;
    }

    public void setClearNo(String clearNo) {
        this.clearNo = clearNo;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public BigDecimal getServiceCharge() {
        return serviceCharge;
    }

    public void setServiceCharge(BigDecimal serviceCharge) {
        this.serviceCharge = serviceCharge;
    }

    public BigDecimal getCommission() {
        return commission;
    }

    public void setCommission(BigDecimal commission) {
        this.commission = commission;
    }

    public String getChannelFeePayer() {
        return channelFeePayer;
    }

    public void setChannelFeePayer(String channelFeePayer) {
        this.channelFeePayer = channelFeePayer;
    }

    public List<OrderDetails> getOrderDetailsList() {
        return orderDetailsList;
    }

    public void setOrderDetailsList(List<OrderDetails> orderDetailsList) {
        this.orderDetailsList = orderDetailsList;
    }
}

